<?= $this->xmlDeclaration() . "\n"; ?>
<?= $this->doctype() . "\n"; ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <!-- Start: Meta Tags -->
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="Description" content="ZFTalk is the Zend Framework IRC channel site" />
        <?= $this->headMeta() . "\n"; ?>
        <!-- End: Meta Tags -->

        <!-- Title -->
        <? $this->headTitle('ZFTalk')->setSeparator(' | ') ?>
        <?= $this->headTitle() . "\n"; ?>

        <!-- Start: Link Tags -->
        <!-- <link rel="shortcut icon" href="<?= $this->baseUrl('images/favicon.ico'); ?>" type="image/x-icon" /> -->
        <link rel="stylesheet" type="text/css" href="<?= $this->baseUrl('styles/VectorLover.css'); ?>" />
        <link rel="stylesheet" type="text/css" href="<?= $this->baseUrl('styles/layout-1col.css'); ?>" />
        <?= $this->headLink() . "\n"; ?>
        <!-- End: Link Tags -->

        <!-- Start: Styles -->
        <?= $this->headStyle() . "\n"; ?>
        <!-- End: Styles -->

        <!-- Start: Scripts -->
        <?
        $this->dojo()->setDjConfig(array(
                        'parseOnLoad' => true
                     ))
                     ->addStyleSheetModule('dijit.themes.tundra')
                     ->enable();
        ?>
        <?= $this->dojo(); ?>
        <?= $this->headScript() . "\n"; ?>
        <!-- End: Scripts -->
    </head>

    <body class="tundra">
        <div id="wrap">
            <!-- Start: Header -->
            <div id="header">
                <!-- Start: Branding -->
                <h1 id="logo-text"><a href="<?= $this->baseUrl(); ?>" title="ZFTalk home">#ZFTalk</a></h1>
        		<p id="slogan">Where <em>Zend Framework</em> meets People!</p>
                <!-- End: Branding -->
            </div>
            <!-- End: Header -->

            <!-- Start: Navigation -->
            <div id="nav">
                <? $this->menu()->setUlClass('clearfix'); ?>
                <?= $this->menu()->toString(24); ?>
            </div>
            <!-- End: Navigation -->

            <!-- Start: Content -->
            <div id="content">
                <div id="main">
                    <div class="breadcrumbs">
                        <?= $this->breadcrumbs(); ?>
                    </div>

                    <div id="flash-container">
                        <? if (count($this->flashMessenger())) : ?>
                        <div id="flash">
                            <span>Message</span>
                            <?= $this->htmlList($this->flashMessenger()->getMessages()); ?>
                        </div>
                        <? endif; ?>
                    </div>

                    <?/* Output content */?>
                    <?= $this->layout()->content . "\n"; ?>
                </div>
            </div>
            <!-- End: Content -->

            <!-- Start: Footer -->
            <div id="footer">
                <p>
                    Copyright <?= date('Y'); ?> &copy; <a href="<?= $this->url(array(), 'default', true); ?>">ZFTalk</a>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <a href="<?= $this->url(array(), 'default', true); ?>">Home</a>&nbsp;|&nbsp;
                    <a href="<?= $this->simpleUrl('index', 'sitemap'); ?>">Sitemap</a>
                </p>
            </div>
            <!-- End: Footer -->
        </div>

        <!-- Start: Inline Scripts -->
        <script type="text/javascript" src="<?= $this->baseUrl('scripts/app/layout.js'); ?>"></script>
        <script type="text/javascript">
        //<![CDATA[
            // Bootstrap
            app.layout.init();
        //]]>
        </script>
        <?= $this->inlineScript(); ?>
        <!-- End Inline Scripts -->
    </body>
</html>